package com.sushi.service;

import com.sushi.repository.entity.BlackEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sushi.response.ResponseBO;
import com.sushi.response.ResponsePageBO;
import com.sushi.response.BlackResp;
import com.sushi.request.BlackReq;
import com.sushi.request.BlackPageReq;

/**
 * 黑名单 服务类
 * @date 2023-05-02
 * @time 17:12:46
 * @author Administrator
 */
public interface BlackService extends IService<BlackEntity> {

    

    /**
     * 新增
     */
    public ResponseBO<BlackResp> add(BlackReq req);

    /**
     * 逻辑删除
     */
    public ResponseBO<BlackResp> logicRemove(BlackReq req);

    /**
     * 更新
     */
    public ResponseBO<BlackResp> updateByField(BlackReq req);

    /**
     * 列表
     */
    public ResponsePageBO<BlackResp> listByCondition(BlackPageReq req);

    /**
     * 详情
     */
    public ResponseBO<BlackResp> detail(BlackReq req);

;

}